local cookie = '_vwo_uuid_v2=E73FBA9D1E0B24AFB9E416F16905458C|8be41595fbeb90a66805b6f610ededaa; gr_user_id=9f7982d8-c300-4050-8918-921527796d1d; douban-fav-remind=1; __yadk_uid=UDNy2IE0u9DqIXWLJTrbJ5ADX3s8BAdU; bid=nFh4mrsWvFk; ll="118318"; __utmc=30149280; __utmz=30149280.1549113191.56.39.utmcsr=baidu|utmccn=(organic)|utmcmd=organic; viewed="26176870_2130743_1896753_26365491_3012360_7006537_1391207_4065258_26979890_20432061"; __utma=30149280.1781147576.1529479133.1549113191.1549957962.57; push_noty_num=0; push_doumail_num=0; ap_v=0,6.0; dbcl2="159658352:rY37mf8QFso"; ck=LNr0; _pk_ref.100001.8cb4=%5B%22%22%2C%22%22%2C1552125290%2C%22https%3A%2F%2Faccounts.douban.com%2Fpassport%2Flogin_popup%3Flogin_source%3Danony%22%5D; _pk_id.100001.8cb4=775ed02a7abf467f.1544620003.6.1552125290.1552122966.; _pk_ses.100001.8cb4=*'

local function split(str, delimiter)
    if str==nil or str=='' or delimiter==nil then
        return nil
    end
 
    local result = {}
    for match in (str..delimiter):gmatch("(.-)"..delimiter) do
        table.insert(result, match)
    end
    return result
end

function trim(str)
   return (string.gsub(str, "^%s*(.-)%s*$", "%1"))
end

local res = split(cookie, ";")

local fin = {}

for k,v in pairs(res) do
	-- print(v)
	x = split(v,'=')
	for i,j in pairs(x) do

		tmp = trim(j)
		table.insert(fin,tmp)
	end
end

print(fin)